home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-06-19 | 1.3 KB | 46 lines | [TEXT/ttxt] |
- #
- # National Holiday Definition for USA
- # 1998/5/15 Copyright WAKI Riuzo
- #
- # format
- # 1st column
- # # Comment
- # :year:month:day:dayofweek:special:flags:move:name
- # dayofweek = Su, Mo, Tu, We, Th, Fr, Sa
- # special = E (Easter)
- # V (Vernal Equinox, shunbun)
- # A (Autumnal Equinox, shuubun)
- # 4 (every 4 years)
- # flags = W (Working day = not holiday)
- # B (Before)
- # move = Su, Mo, Tu, We, Th, Fr, Sa
- # if the day was sunday(or monday or ...), next day is holiday
- #
- # Sample
- # :1991:4:25:::W::Yui's Birthday
- # --> 25th April from 1991 (not holiday)
- # ::5:8:Su::::Mother's Day
- # --> nearest Sunday after 8th May (2nd Sunday of May)
- # 1st=1, 2nd=8, 3rd=15, 4th=22
- # ::5:31:Mo::B::Memorial Day
- # --> nearest Monday before 31th May (Last Monday of May)
- #
- #
- ::1:1:::::New Year's Day
- ::1:15:Mo::::Martin Luther King Day
- :1937:1:20::4:::Inauguration Day
- ::2:12:::W::Lincoln's Birthday
- ::2:15:Mo::W::Washington's Birthday
- ::::Fr:E:B::Good Friday
- :::::E:::Easter
- ::5:15:Sa::::Armed Forces Day
- ::5:31:Mo::B::Memorial Day
- ::6:14:::::Flag Day
- ::7:4:::::Independence Day
- ::9:1:Mo::::Labor Day
- ::10:8:Mo::::Columbus Day
- ::10:2:Tu::::Election Day
- ::11:11:::::Veterans Day
- ::11:22:Th::::Thanksgiving Day
- ::12:25:::::Christmas Day
-